
public class CRectangle {
	int x,y;
	public void setValues(int a,int b)
	{
		x=a;
		y=b;
	}
	public int area(){
		return(x*y);
	}

	public static void main(String[] args) {
		CRectangle rect = new CRectangle();
		CRectangle rectb = new CRectangle();
		rect.setValues(3, 4);
		rectb.setValues(5, 6);
		System.out.print("rect a:"+rect.area());
		System.out.print("rect b:"+rectb.area());
	}

}
